package cn.lg.soar.mvc.aspect.log.model;

import org.springframework.expression.EvaluationContext;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public class TextConfig implements Config {

    private final String text;

    public TextConfig(String text) {
        this.text = text;
    }

    @Override
    public Object getData(EvaluationContext context) {
        return this.text;
    }

    @Override
    public Object getDataId(EvaluationContext context) {
        return null;
    }

}
